package com.sharecar.response;

import java.io.Serializable;

/**
 * This class is the base class of server's response to app(client)..
 * @author xinyan
 *
 */
public class Response implements Serializable {
	private static final long serialVersionUID = 1L;

	public static final int SUCCESS = 1;
	public static final int ERROR = 2;
	public static final int EXCEPTION = 3;
	public static final int SERVER_BUSY = 4;

	// Response value, eg: SUCCESS
	private int value;

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
}
